Only allow 'unpause' keyboard events while paused

As a user I expect that when I pause a presentation by pressing either `b` or `.` the presentation should go into a suspended state until I press one of those keys again.

I tested it out in the online version and was able to change slides by pressing the L/R arrow keys while the slide was paused.

This pull request adds that expected behaviour.