add ability to return a simple animation function from willBecomeActive/didBecomeActive