Carousel: Use the transition duration from CSS

This makes it possible to change the transition duration in CSS