fixed: carousel animations only work for the last carousel component in the page