Stack portfolio grids differently depending on the device size