ScrollFrame – Retain your scroll position between pages using an iframe
Retain your scroll position between pages using an iframe. Especially helpful for infinite scrolling views.
scrollFrame will hijack the user’s click for elements that match the query selector you pass in and instead of reloading the page it will append a modal-like iframe that sits on top of your viewport and points to the element’s href.
It then uses HTML5 history APIs to make the back-button function as expected.