         loader.title = title
         loader.update()
         
+        NSNotificationCenter.defaultCenter().addObserver(loader, selector: #selector(loader.rotated(_:)),
+                                                         name: UIDeviceOrientationDidChangeNotification,
+                                                         object: nil)
+        
         let height : CGFloat = UIScreen.mainScreen().bounds.size.height
         let width : CGFloat = UIScreen.mainScreen().bounds.size.width
-        let center : CGPoint = CGPointMake(width / 2.0, height / 2.0 - CGFloat(topMargin))
+        let center : CGPoint = CGPointMake(width / 2.0, height / 2.0)
+        
         loader.center = center
         
         if (loader.superview == nil) {

        return Singleton.instance
    }
    
    public class func show(animated: Bool) {
        self.show(nil, animated: animated, topMargin: 0)
    }
    
    public class func show(animated: Bool, topMargin: Int) {
        self.show(nil, animated: animated, topMargin: topMargin)
    }
    
    public class func show(title: String?, animated: Bool) {
        self.show(title, animated: animated, topMargin: 0)
    }
    
    public class func show(title: String?, animated: Bool, topMargin: Int) {
        let currentWindow : UIWindow = UIApplication.sharedApplication().keyWindow!
        
        let loader = SwiftLoader.sharedInstance

    }
    
    /**
     *  Loader View
     */
    class SwiftLoadingView : UIView {
        
        private var lineWidth : Float?
        private var lineTintColor : UIColor?
        private var backgroundLayer : CAShapeLayer?
