Fix indentation in viewer code (#715).

Just an indentation fix (and one comment). No semantic changes.
Fix indentation in viewer code (#715).

Just an indentation fix (and one comment). No semantic changes.
Merge pull request #718 from patternleaf/715-modal-viewer-toc

715 modal viewer toc