add slideshow_previous and slideshow_next js