implemented translate z for the camera.