cancelAnimationFrame on trashold