animations editor refactoring