graph animation functions added, xaxis at y=0