add for imageswitcher.