updated the pagination to use bootstraps rowspan