Support panning.