Fix animateFunctions names