fix scrollbar jumping