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

Discovered this oversight in the code while assigning the left and right arrow keys to trigger slidePrev() and slideNext().