Changed the way thumbnails loaded