use requestAnimationFrame insteadof jquery Animate