Refactoring of waiting for the moving animations to end