add page.class to grids