         forwardButton.enabled = false
     }
     
+    func gestureRecognizerShouldBegin(gestureRecognizer: UIGestureRecognizer) -> Bool {
+        return true
+    }
+    
     func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWithGestureRecognizer otherGestureRecognizer: UIGestureRecognizer) -> Bool {
         return true
     }

            
            //store previous window titles and urls
            slideViewValue.windowStoreTitle.append("")
            slideViewValue.windowStoreUrl.append(self.longPressAcUrl)
            
            //set current window as the latest window
            slideViewValue.windowCurTab = slideViewValue.windowStoreTitle.count - 1

            //initial y point
            slideViewValue.scrollPosition.append(CGFloat(0.0))
            
            self.loadRequest(urlStr)
        }
        alertController.addAction(opentabAction)
        let copyurlAction = UIAlertAction(title: "Copy Link", style: .Default) { (action) in
            let pb: UIPasteboard = UIPasteboard.generalPasteboard();
            pb.string = urlStr
        }
        alertController.addAction(copyurlAction)
        let shareAction = UIAlertAction(title: "Share Link", style: .Default) { (action) in
            let activityViewController = UIActivityViewController(activityItems: [urlStr as NSString], applicationActivities: nil)
            self.presentViewController(activityViewController, animated: true, completion: {})
        }
        alertController.addAction(shareAction)
        
        return alertController
    }
    
    //function to refresh
    func refreshPressed() {
