Carousel: refactor using inline function and move variables to the proper place
Carousel: refactor using inline function and move variables to the proper place

inway/bootstrap,tjkohli/bootstrap,coliff/bootstrap,twbs/bootstrap,twbs/bootstrap,coliff/bootstrap,m5o/bootstrap,tjkohli/bootstrap,inway/bootstrap,inway/bootstrap,m5o/bootstrap