fixed back button and state change scroll position