Fix bug where timed gallery did not pause when thumbs were opened.

[Fixes #27]