add grid mode as a container for the grid, grid menu and pager