ensure that scroll position is at top of window when navigating