JavaScript for transition animation

Using Modernizr custom build http://www.modernizr.com/download/#-video