Modernizr

Added Modernizr as a dependency.
Updated demo
Translate

Next function now uses translate instead of left if possible.