refactor(carousel): reorganize methods
refactor(carousel): reorganize methods

Closes #5063

BookingBug/bootstrap,caoruiy/bootstrap,burlhock/bootstrap,byronigoe/bootstrap,fpipita/bootstrap,benhalverson/bootstrap,benhalverson/bootstrap,Kpler/bootstrap,Kpler/bootstrap,vfiles/bootstrap,benhalverson/bootstrap,icfantv/bootstrap,wesleycho/bootstrap,RobJacobs/bootstrap,deeg/bootstrap,Servoy/bootstrap,wesleycho/bootstrap,shootermv/bootstrap,icfantv/bootstrap,burlhock/bootstrap,mabi/bootstrap,infowrap/bootstrap,looker/bootstrap,caoruiy/bootstrap,shootermv/bootstrap,vfiles/bootstrap,infowrap/bootstrap,fpipita/bootstrap,connyay/bootstrap,RobJacobs/bootstrap,292388900/bootstrap,Servoy/bootstrap,Foxandxss/bootstrap,angular-ui/bootstrap,christor/bootstrap,angular-ui/bootstrap,looker/bootstrap,christor/bootstrap,benhalverson/bootstrap,BookingBug/bootstrap,connyay/bootstrap,Foxandxss/bootstrap,mabi/bootstrap,deeg/bootstrap,byronigoe/bootstrap,292388900/bootstrap