finished the rotate function and added zoom function for the camera