add a button for paging