blinking with requestAnimationFrame