Implementing psuedo transitionend events. Changing API to explicitly call transition() method.