UICollectionView layout system inspired by responsive grids