Use time progress to determine basic animation end.

If the timing function goes over 1.0 the animation stops at that point (issue #91). This commit should fix that.