sample code that tracks and prints the position of a CALayer while it is being animated