Freetile is a plugin for jQuery that enables the organization of webpage content in an efficient, dynamic and responsive layout.
It can be applied to a container element and it will attempt to arrange it's children in a layout that makes optimal use of screen space, by "packing" them in a tight arrangement.