     /**
         Padding from bottom right of UIScreen or superview.
     */
-    public var padding: CGFloat = 14 {
+    public var paddingX: CGFloat = 14 {
+        didSet {
+            self.setNeedsDisplay()
+        }
+    }
+    public var paddingY: CGFloat = 14 {
         didSet {
             self.setNeedsDisplay()
         }

        
        UIView.animateWithDuration(0.2, delay: 0, options: UIViewAnimationOptions.TransitionNone, animations: {
            self.frame = CGRectMake(
                UIScreen.mainScreen().bounds.width-self.size-self.padding,
                UIScreen.mainScreen().bounds.height-self.size-self.padding - keyboardSize.height,
                self.size,
                self.size
            )

    private func setRightBottomFrame(keyboardSize: CGFloat = 0) {
        if superview == nil {
            frame = CGRectMake(
                UIScreen.mainScreen().bounds.size.width-size-paddingX,
                UIScreen.mainScreen().bounds.size.height-size-paddingY-keyboardSize,
                size,
                size
            )
        } else {
            frame = CGRectMake(
                superview!.bounds.size.width-size-paddingX,
                superview!.bounds.size.height-size-paddingY-keyboardSize,
                size,
                size
            )
