Added zoom function for the camera.