make sync_current_animation in Carousel a public function