adjust row/column layout to 5 grids