fix the scroll position