Carousel refactor / test. Fix animations

when there are only 2 slides, fix animation