put trailing slash on setCurrentSlide