added a toggle to the camera