     }
     
     override func viewDidLayoutSubviews() {
-        setConstraints(for: view.bounds.size.orientation)
+        _lastLayoutContainerOrientation = view.bounds.size.orientation
+        setConstraints(for: _lastLayoutContainerOrientation)
         super.viewDidLayoutSubviews()
     }
     

    @IBOutlet private weak var lifeTotalLabel: UILabel!
    @IBOutlet private weak var plusButton: UIButton!
    @IBOutlet private weak var minusButton: UIButton!
    
    @IBAction private func plusButtonPressed(_ sender: AnyObject) {
        lifeTotal += 1

        let reference = backgroundView.frame
        
        var up = true;
        switch resolveButtonPosition(for: _lastLayoutContainerOrientation) {
        case .rightLeft:
            up = location.x > (reference.size.width / 2)
        case .leftRight:
