fixed duplicate thumbnails; added new class