making the first graph animation working