polyline animation