grid pagination and load pages with and w/out grids