refactor animate utils to app