Added functionality to collapse and center in the viewport the entire grid group when all of the grids are closed.