Added parameter to changeSlide and slickNext and slickPrev.