     private func setRightBottomFrame(keyboardSize: CGFloat = 0) {
         if superview == nil {
             frame = CGRectMake(
-                UIScreen.mainScreen().bounds.size.width-size-padding,
-                UIScreen.mainScreen().bounds.size.height-size-padding-keyboardSize,
+                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-padding,
-                superview!.bounds.size.height-size-padding-keyboardSize,
+                superview!.bounds.size.width-size-paddingX,
+                superview!.bounds.size.height-size-paddingY-keyboardSize,
                 size,
                 size
             )

        
        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
            )

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