         }
     }
     
+    /**
+    Gets called every time the scrollView moves - even when UIRefreshControl is the one making the movement. This method handles all those events and acts accordingly - moves the navigation bar up/down and in case of snapping back it calls handleSnapBack method.
+    
+    :param: scrollView Default Cocoa API - The scroll-view object in which the scrolling occurred.
+    */
     func scrollViewDidScroll(scrollView: UIScrollView) {
         if self.isHidingEnabled {
             if let navigationCtr = self.navigationController {

        super.didReceiveMemoryWarning()
    }
    
    override func willAnimateRotationToInterfaceOrientation(toInterfaceOrientation: UIInterfaceOrientation, duration: NSTimeInterval) {
        if self.isHidingEnabled {
            self.showBar(UIInterfaceOrientationIsLandscape(toInterfaceOrientation))


    //MARK: - Scroll view delegate
    
    /**
    Handles the end of scrolling event, to make sure the navigation bar doesn't end up in inconsistent state (hides/shows).
    
    :param: scrollView Default Cocoa API - The scroll-view object that finished scrolling the content view.
    :param: willDecelerate Default Cocoa API - true if the scrolling movement will continue, but decelerate, after a touch-up gesture during a dragging operation.
    */
    func scrollViewDidEndDragging(scrollView: UIScrollView, willDecelerate decelerate: Bool) {
        if self.isHidingEnabled {
            if let navigationCtr = self.navigationController {
