translate and animationStarting

-translate() is now used for slide mode when possible. It can be
disabled by setting useTranslate: false
-animationStarting event added. returning false will cancel the
animation