         if self.revealViewController() != nil {
             self.view.addGestureRecognizer(self.revealViewController().panGestureRecognizer())
         }
+    }
+    
+    func refreshScroll() {
+        
     }
     
     func dismiss() {

        self.presentViewController(navController, animated: true, completion: nil)
    }
    
}


        // Post history calendar
        postCalendarView.initialize()
        
        // Add refresh scroll button for calendar
        let button = UIButton.buttonWithType(UIButtonType.System) as! UIButton
        button.frame = self.postHistoryLabel.frame
        button.addTarget(self, action: "refreshScroll", forControlEvents: UIControlEvents.TouchUpInside)
        self.view.addSubview(button)
        
        // Add profile button to the left side of the navbar
        var menuButton = UIButton(frame: CGRect(x: 0, y: 0, width: 25, height: navigationController!.navigationBar.frame.height * 0.65))
        menuButton.setImage(UIImage(named: "white-hamburger-menu-Icon"), forState: .Normal)
