Added panning.