         containerView.leftContainerView.layer.shadowOpacity = self.shadowOpacity
         containerView.leftContainerView.layer.shadowRadius = self.shadowRadius
         containerView.leftContainerView.layer.shadowOffset = self.shadowOffset
-        containerView.leftContainerView.layer.shadowColor = self.shadowColor
+        containerView.leftContainerView.layer.shadowColor = self.shadowColor.CGColor
         containerView.leftContainerView.hidden = true
 
         containerView.rightContainerView.addGestureRecognizer(self.rightDrawerCloseOnTapGestureRecognizer)

        containerView.rightContainerView.layer.shadowOpacity = self.shadowOpacity
        containerView.rightContainerView.layer.shadowRadius = self.shadowRadius
        containerView.rightContainerView.layer.shadowOffset = self.shadowOffset
        containerView.rightContainerView.layer.shadowColor = self.shadowColor
        containerView.rightContainerView.hidden = true

        return containerView

        }
    }

    public var shadowColor: UIColor = UIColor.blackColor() {
        didSet {
            containerView.leftContainerView.layer.shadowColor = shadowColor.CGColor
            containerView.rightContainerView.layer.shadowColor = shadowColor.CGColor
        }
    }

