Scroll to top of window when switching pages