Adds ajax pagination to dashboard