added delete to thumbnails