make selection thumbnails work