Variable name change from _panning to _proximityPan to avoid confusion