```
if (!isAnimationPlaying) {
  _show(...);
  return;
}

screen.addEventListener...
```

You catch my drift we can do that in a bunch of placed and make the code more readable.