Don't toggle while toggling

Resolves #3.

This seems sufficient to me. What do you think, @robrix?