fix blink. add end level
add requestAnimationFrame