Saves scroll position of pages