changing the grid layout