     
     override func layoutSubviews()
     {
-        totalHeight = bounds.maxY - (kSliderTop - kSliderBottom + kButtonHeight - kButtonBottom)
+        totalHeight = bounds.maxY - (kSliderTop - kSliderBottom + kButtonDoneHeight + kButtonResetHeight)
         let width:CGFloat = bounds.maxX
         let remain:CGFloat = width - kButtonWidth
         let margin:CGFloat = remain / 2.0

            toView:buttonReset)
        NSLayoutConstraint.height(
            view:buttonDone,
            constant:kButtonHeight)
        NSLayoutConstraint.width(
            view:buttonDone,
            constant:kButtonWidth)

        buttonDone.translatesAutoresizingMaskIntoConstraints = false
        buttonDone.clipsToBounds = true
        buttonDone.backgroundColor = UIColor.genericLight
        buttonDone.layer.cornerRadius = kButtonDoneHeight / 2.0
        buttonDone.setTitleColor(
            UIColor.white,
            for:UIControlState.normal)
