saving the scroll position so when the user hits the back button they go back to where they were