zooming for image-pan