basics of zooming and panning around