fix effect of slideshow