     }
     
     func layoutPageControl() {
-        self.pageControl!.setTranslatesAutoresizingMaskIntoConstraints(false)
-        
-        var views = ["pageControl": self.pageControl!]
+        self.pageControl.setTranslatesAutoresizingMaskIntoConstraints(false)
+        
+        var views = ["pageControl": self.pageControl]
         var constraintVertical = NSLayoutConstraint.constraintsWithVisualFormat("V:[pageControl]-22-|", options: NSLayoutFormatOptions(0), metrics: nil, views: views)
         var constraintCenterX = NSLayoutConstraint.constraintsWithVisualFormat("H:|[pageControl]|", options: NSLayoutFormatOptions.AlignAllCenterX, metrics: nil, views: views)
         self.view.addConstraints(constraintVertical)

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

        
        // Page Control
        if self.visiblePageControl {
            self.pageControl.frame = CGRectZero
            self.pageControl.numberOfPages = imageURLs!.count
            self.pageControl.currentPage = 0
            self.pageControl.userInteractionEnabled = false
