 import UIKit
 
 public class NavigationNotice {
-    class ViewController: UIViewController, UIScrollViewDelegate {
+    class ViewController: UIViewController, UIScrollViewDelegate, UIGestureRecognizerDelegate {
         class HitView: UIView {
             override func hitTest(point: CGPoint, withEvent event: UIEvent?) -> UIView? {
                 if let superView = super.hitTest(point, withEvent: event) {

            }
        }
        
        func showContent(animations: () -> Void, completion: (Bool) -> Void) {
            UIView.animateWithDuration(0.5, delay: 0, usingSpringWithDamping: 0.7, initialSpringVelocity: 0, options: .BeginFromCurrentState, animations: animations, completion: completion)
        }

        
        override func viewDidLoad() {
            super.viewDidLoad()
            
            panGesture.delegate = self
            
            noticeView = HitScrollView(frame: view.bounds)
            noticeView.clipsToBounds = false
