movement through mouse click