added styles to the board, event binding