How can I animate two figures independently?