fixes image scrolling