fix bug in scrolling for full image