added testing to check if touch is inside joystick