modifications done in scrolling