The Grid.

This example has 50 cells and 3 breakpoints - so 4 different configurations.
The cells have absolute positioning percentage wdth and fixed height.

Reduce your screen width to the breakpoint to see the cells reordering with a nice elastic animation.

Breakpoint 1

cellsPerRow: 5,
cellHeight: 100

Breakpoint 2

cellsPerRow: 4,
cellHeight: 130

Breakpoint 3

cellsPerRow: 2,
cellHeight: 160