fix scrolling after sliding