fixed css selectors for thumbnails in the gallery