Using animate.css with a bit of jquery to expand functionality
From http://josebrowne.com/open/tutorial-easy-css-animations-with-animate-css