Hide the splitter when the pane is collapsed.
Fixed a typo in viewer.js comment.