Refactoring carousel to make multiple carousels usable in one controller. Fixed length bug