Laying out subviews only once.

The viewWillLayoutSubviews can be called several times during the life
cycle of the Split View Controller, this commit fixes the bug where the
master and detail panes are laid out each time this happens.