Fix split view behaviour around orientation change.

* Unbreak scrolling the detail view in landscape.
* Show the sidebar when rotating to portrait and there's nothing in the detail
  view.