         return boundWidth
     }
     
-    fileprivate func superviewBoundHeight() -> CGFloat {
+    fileprivate func superviewContentHeight() -> CGFloat {
         guard let superview = superview else {
             return 0
         }

        
        isValidTap = false
        
        if curAnchor!.isResizing() {
            resizeUsingTouchLoc(touch.location(in: superview!))
        } else {
            translateUsingTouchLoc(touchPos)
        }
    }
    
    override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
        delegate?.moViewDidEndEditing(self, edited: !isValidTap)
        
        if isValidTap {

                if touchPoint.x < border {
                    touchPoint.x = border
                }
                if touchPoint.x > superviewContentWidth() - border {
                    touchPoint.x = superviewContentWidth() - border
                }
                if touchPoint.y < border {
                    touchPoint.y = border
                }
                if touchPoint.y > superviewContentHeight() - border {
                    touchPoint.y = superviewContentHeight() - border
                }
            }
            
