added imnitial support for slideshow