Manually merged, Added code for reverse, onEnd, isRunning And To For transitions