implemented +[CATransaction animationSequence] method to keep animation code simple.