added rotation and joystick controls