Just move your mouse x-axis movement as soon as you see the enemy.
I challenged myself to make this, so I did.