create animation for graphs