Added several panning modes.