Change style to properly display thumbnails