fix FF bug in Carousel