Cleaned up dom by using collection-view for grids.