async animations callbacks using rAF