use datatables for table paging and sorting instead