fix scrolling on tablets devices in imageviewer