Added pagination rows to top and bottom of table