Zoom control and pan-zoom for main image view