Added animation event for debugger

Added animation callbacks for element animation