This example thumbnail gallery always has the same number of columns, regardless of browser width. Get this effect by setting the min width to 50, the ideal width to 55 and the max (not as important) to something like 900px. This works best when you have 2-4 columns. Otherwise, there will be necessary wrapping on phones. Test by changing the browser window width.