prevent scrolling from being too fast