add buttons for next, previous, first and last