Reset scroll position when transitioning back and forth between the hierarchy view.