         println("content height \(self.webView?.scrollView.contentSize.height)")
     }
     
-    @IBAction func didSelectBackButton(sender: AnyObject)
-    {
-        self.webView?.goBack()
-    }
-    
-    @IBAction func didSelectForwardButton(sender: AnyObject)
-    {
-        self.webView?.goForward()
-    }
-    
     func reloadPage()
     {
         var url = self.webView?.URL

            self.toolbar?.frame = CGRectMake(0, self.view.bounds.size.height - 44.0, self.toolbar!.frame.size.width, self.toolbar!.frame.size.height)
        }
    }
}

    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) {
