Fixes an issue sizing the view when restoring state.

Fixes #1395 

When restoring state, the view controller's navigationController property is nil when the view is loaded. The result was the navigationBar and toolbar were not being correctly configured. Not exactly sure what the state restoration mechanism was doing behind the scenes but this seemed to be throwing off the height of the view.  This patch makes sure the bars are configured correctly and the UI is properly refreshed when the view appears.