Give the thumbnail list more flexible markup