click function and higlight for possible moves