 		
 		doubleTapRecognizer = UITapGestureRecognizer()
 		singleTapRecognizer = UITapGestureRecognizer()
+		panGesture = UIPanGestureRecognizer()
+		touchBack = UITapGestureRecognizer()
 
 		//scroll visible
 		instantScrollView.showsHorizontalScrollIndicator = false

		switch (recognizer.state) {
		case UIGestureRecognizerState.Began:
			println("pan has begun")
			
			
			break;
		case UIGestureRecognizerState.Ended:
			returnDefaultState()
			println("pan is ended")
			break;
		case UIGestureRecognizerState.Changed:

		instantScrollView.setNeedsDisplay()
		
		//adding pan recognizer
		panGesture = UIPanGestureRecognizer(target: self, action: "panToFullScreen:")
		touchBack = UITapGestureRecognizer(target: self, action: "touchBackHandler:")
		instantScrollView.addGestureRecognizer(panGesture)
		instantScrollView.addGestureRecognizer(touchBack)
	}
	
	/**
