     }
 
     open func setDisplayLabelConstraints() {
-        let constraint = NSLayoutConstraint(item: displayLabel,
+        let constraint = NSLayoutConstraint(item: pageControl,
                                             attribute: NSLayoutAttribute.centerX,
                                             relatedBy: NSLayoutRelation.equal,
                                             toItem: view,

                                            constant: 0.0)
        view.addConstraint(constraint)

        let displayLabelVConstraints = NSLayoutConstraint.constraints(withVisualFormat: "V:[label]-20-|",
                                                                                      options: [],
                                                                                      metrics: nil,
                                                                                      views: ["label": displayLabel])
        view.addConstraints(displayLabelVConstraints)
    }


        view.addSubview(imageSliderView)
        setImageSliderViewConstraints()

        pageControl.translatesAutoresizingMaskIntoConstraints = false

        view.addSubview(pageControl)
        setDisplayLabelConstraints()
    }

