Add transitionEnd event supporting

Browsers that use transition property can fires transitionEnd event.
So using such event instead of JavaScript setTimeout function
is more reliable approach (thanks for Tait Brown).
Minified with Google's Closure Compiler.