make image to scroll in image viewer