Fixed bug in scrolling setup