modify the behavior of scrolling