added caption buffer to slideshow in small