added a finished callback
Use after-transition component which supports older browers with a prefix
in front of the `transitionend` event name and calls the callback
immediately if the element doesn't have transitions applied.