only showing <tr> with pagination if we have pages to show