     }
     
     public func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldReceiveTouch touch: UITouch) -> Bool {
-        return touch.view == containers.first! || touch.view == mediaControl
+        return touch.view!.isKindOfClass(Container) || touch.view == mediaControl
     }
 }
    private func createMediaControl() {
        if let topContainer = containers.first {
            mediaControl = MediaControl.initWithContainer(topContainer)
            topContainer.addSubviewMatchingContraints(mediaControl)
            addTapRecognizer()
        }
    }

    private func addTapRecognizer() {
        let tapRecognizer = UITapGestureRecognizer(target: mediaControl, action: "toggleVisibility")
        tapRecognizer.delegate = self
        addGestureRecognizer(tapRecognizer)
    }
    
    public func addPlugin(plugin: UICorePlugin) {
