Tiled Gallery: Add rows to all galleries.

Circle and square galleries also have rows now, so that we can handle overflow
for some teams more gracefully.