Moved back to cameraPan array for position and handleMotion for controls.