Thumbnails grid fix