Carousel: Use the transition duration from CSS

This makes it possible to change the transition duration in CSS
Merge pull request #11416 from danielboendergaard/carousel-duration

Carousel: Use the transition duration from CSS