New deferred resolve implementation for animation complete