fixed auto-scrolling when back button is pressed