put animation and caption within figure element

I'm not 100% sure if this is appropriate but I think it is - I've put
the animation container inside of a figure element and the caption
inside of the figcaption. this simplifies the stylesheets a bit and adds
syntax to the page.