fix for carouselswith fewer than 2 slides