         NSNotificationCenter.defaultCenter().removeObserver(self, name: "kFolderViewControllerNavigatedInList", object: nil)
     }
     func setImageForOrientation(forOrientation: UIInterfaceOrientation){
-        
         if let horizontalImage = horizontalUploadImage {
             if (UIInterfaceOrientationIsLandscape(forOrientation)){
                 horizontalImage.hidden = false
             } else {
                 horizontalImage.hidden = true
-                
             }
         }
         if let verticalImage = uploadImage {

    @IBOutlet weak var horizontalUploadImage: UIImageView!
    override func viewDidLoad() {
        super.viewDidLoad()
        self.uploadImage.accessibilityLabel = NSLocalizedString("upload guide image accessability hint", comment: "when user taps on image, this text should be read")
        self.uploadImage.isAccessibilityElement = true
        NSNotificationCenter.defaultCenter().addObserverForName("kFolderViewControllerNavigatedInList", object: nil, queue: nil) { note in

            uploadImage.image = UIImage.localizedImage(UIInterfaceOrientation.Portrait)
        }else {
            uploadImage.image = UIImage.localizedImage(toInterfaceOrientation)
            horizontalUploadImage.image = UIImage.localizedImage(toInterfaceOrientation)
            setImageForOrientation(toInterfaceOrientation)
            
        }
