Pan the image