thumbnails update without breaking iframe