Converting carousel to use figure and figcaption