Implement clamping in while panning.  Don't allow panning past the min
or max.