fix scrolling speed bug