adds scrolling behavior.