correctly animate line left-to-right for the number of points appended