Display index as list or thumbnails. Tidy CSS