added previous and next buttons for board pages