Write our own split view controller.

Fixes #206.