Rework of grid layout to support items with height multiples.
Changed grid row structure from Dictionary to Array.