Merge two animations