Added the appropriate mouse listeners to the board