 
     var scrollView:UIScrollView!
     var imageURLs:Array<NSURL>?
+    var pageControl:UIPageControl!
     var backgroundView:UIView!
     var effectView:UIVisualEffectView!
     var closeButton:UIButton?

    public var visibleCloseButton = true
    public var index = 0
    public var pageControl = UIPageControl()
    
    public init(imageURLs:Array<NSURL>) {
        super.init(nibName: nil, bundle: nil)

        self.view.userInteractionEnabled = true

        self.backgroundView = UIView(frame: self.view.bounds)
        self.backgroundView.backgroundColor = backgroundViewColor

        if floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_7_1 {
            self.view.addSubview(self.backgroundView)
