moves on mouse click