trying to debug joystick drag functionality