Gallery: evenly distribute the tumbnails along the width of the page