Added the slideCount vs. slidesToShow check in the changeSlide() function.
Merge pull request #311 from atacrawl/prev-next-fix

Add the slideCount vs. slidesToShow check in the changeSlide() function