add basic slideshow directive