Add Scroll to top on state change.