general layout change to grid