improve scrolling behavior