Adding emit to slideshow