Fixed bug from slide thumbnails