add perspective prop and onTransitionEnd() method