slideshow click events assignment