Fixes the styles of thumbnails list.