             make.width.equalTo(100)
             make.height.equalTo(30)
         }
-        
-        closeBtn.addTarget(self, action: "dismissController", forControlEvents: UIControlEvents.TouchUpInside)
+
     }
     
     func dismissController(){

    override func viewDidLoad() {
        super.viewDidLoad()
        setupUI()
        // Do any additional setup after loading the view.
    }

    func setupUI(){


import UIKit

let PhotoBrowserControllerIdentifer = "PhotoBrowserControllerIdentifer"
class PhotoBrowserController: UIViewController {
    
    var index : Int?
