adjusted graph animation