Scroll to top of page when switching modes.