     var autoCompleteContainer = UIView()
     var autoCompleteThrottle = debounce(0.4)
     var autoCompleteShowing = false
-    private var currentImage: UIImage?
 
 // MARK: init
 

        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

    }

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