fix margins on thumbnails