Added some logic for the camera controls
Added some logic for the camera controls