Properly hide/show root navigation controller toolbars.

Fixes #257.