getting paging working for numbered pages with ajax