Changed layout for grid