                 selectedTitleLabel.lineBreakMode = .byTruncatingTail
                 selectedTitleLabel.textAlignment = .center
                 selectedTitleLabel.font = selectedTitleFont
+                selectedTitleLabel.layer.borderWidth = selectedTitleBorderWidth
+                selectedTitleLabel.layer.borderColor = selectedTitleBorderColor
                 
                 return (titleLabel, selectedTitleLabel)
             }

            if !selectedTitleLabels.isEmpty {
                for label in selectedTitleLabels {
                    label.font = selectedTitleFont
                }
            }
        }

        get {
            return indicatorView.backgroundColor
        }
        set {
            indicatorView.backgroundColor = newValue
        }
    }
    /// The indicator view's inset. Defaults to 2.0.
    @IBInspectable public var indicatorViewInset: CGFloat = 2.0 {
