fix css styling of thumbnails