created listener for coordinates of Joysticks