Bug fix for slide count less than slidesToShow