adds a center and end class for columns in the grid