Support for panning and zooming