Add media swapping animation, transitionend shorthand