     func forwardPage()
     {
         self.webView?.goForward()
+    }
+    
+    func openActionSheet()
+    {
+        let actionSheet = UIAlertController(title: nil, message: nil, preferredStyle: UIAlertControllerStyle.ActionSheet)
+        
+        actionSheet.addAction(UIAlertAction(title: "Open in Safari", style: UIAlertActionStyle.Default) { action in
+            self.openUrlInSafari(self.webView!.URL)
+        })
+        
+        actionSheet.addAction(UIAlertAction(title: "Cancel", style: UIAlertActionStyle.Cancel, handler: nil))
+        
+        self.presentViewController(actionSheet, animated: true, completion: nil)
+    }
+    
+    func openUrlInSafari(url: NSURL)
+    {
+        UIApplication.sharedApplication().openURL(url)
     }
     
     func scrollViewDidScroll(scrollView: UIScrollView) {

        forwardButton!.enabled = false
        
        var flexibleSpace = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.FlexibleSpace, target: self, action: nil)
        var actionButton = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Action, target: self, action: nil)
        
        toolbar = UIToolbar(frame: CGRectMake(0, self.view.bounds.height - 44.0, 320, 44))
        toolbar!.items = [backButton!, fixedSpace, forwardButton!, flexibleSpace, actionButton, fixedSpace, reloadButton]

        println("content height \(self.webView?.scrollView.contentSize.height)")
    }
    
    func reloadPage()
    {
        var url = self.webView?.URL
