indent, and add a class to thumbnails