fixing the scroll position on the next button