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.
cellsPerRow: 5,
cellHeight: 100
cellsPerRow: 4,
cellHeight: 130
cellsPerRow: 2,
cellHeight: 160