recursively defined animations seem to be working