Modifying animation demo so it works in IE.

Changes were needed because IE doesn't support calc() with CSS transitions.
See #469