Added pagination to totals data table.