Sorted mouse movement

Added code to allow to move to one of the nearby tiles by using
mouseclicks