wired up new pager to main table, changed layout a bit