iOS class to create infinite or bounded CarouselView