added joystick controls