flip the camera properly