Fixed activeSlide string/integer bug