Fix endless scrolling bug in ImageViewerActivity