Animate a line using CADisplayLink