limit panning; closes #15