adapt TbCarousel to upstream changes