         block(barButton: sender)
     }
     
-    @objc func rightBarButtonAction(sender: UIButton?)
+    @objc private func rightBarButtonAction(sender: UIButton?)
     {
         let switchEffect = objc_getAssociatedObject(self, &AssociatedKeys.SwitchEffectKey) as? Bool
         if let _ = switchEffect {

        let barButton = UIButton(type: .Custom)
        barButton.frame = CGRectMake(0, 0, 45, 40)
        barButton.backgroundColor = UIColor.clearColor()
        barButton.addTarget(self, action: Selector(position.rawValue), forControlEvents: .TouchUpInside)
        barButton.imageView?.contentMode = .ScaleAspectFit
        if let image = normalImage{
            barButton.setImage(image, forState: .Normal)

        
    }
    
    @objc private func leftBarButtonAction(sender: UIButton?)
    {
        let switchEffect = objc_getAssociatedObject(self, &AssociatedKeys.SwitchEffectKey) as? Bool
        if let _ = switchEffect {
