update styles and html for carousel