     }
 
     public func scrollViewDidScroll(scrollView: UIScrollView) {
-        if scrollView == regionsTableView {
-        }
-        else {
+        if scrollView != regionsTableView {
             regionsTableView.contentOffset = scrollView.contentOffset
         }
     }

        textScrollView.addSubview(textContainer)
        textScrollView.addSubview(textView)
        textScrollView.hidden = true
    }
    private func setupSwipeGesture() {
        let gesture = UISwipeGestureRecognizer()
        gesture.direction = .Down
        gesture.addTarget(self, action: Selector("swipedDown"))
        textScrollView.addGestureRecognizer(gesture)
    }

// MARK: Generate regions

    var autoCompleteContainer = UIView()
    var autoCompleteThrottle = debounce(0.4)
    var autoCompleteShowing = false

// MARK: init

