       // move the navbar
       self.frame = newFrame
       
-      // move the scrollviews parent view by the offset...check to make sure we have a scrollView first
-      if let myScrollView = self.scrollView {
-        var parentViewFrame = myScrollView.superview?.frame
-        parentViewFrame?.origin.y += offsetY
-        parentViewFrame?.size.height -= offsetY
-        myScrollView.superview?.frame = parentViewFrame!
-      }
-      
+      // adjust scrollview contentInset
+      self.setContentInset()
     }
     
     // Animate the moveFrame() changes if desired, otherwise just execute them

      if gesture.state == .Began {
        scrollState = .None
        lastContentOffsetY = contentOffsetY
        return
      }
      

  // MARK: Helpers
  
  func resetToDefaultPosition(animated:Bool) {
    scrollState = .None
    var defaultFrame = self.frame
    defaultFrame.origin.y = statusBarHeight()
    setFrame(defaultFrame, 1.0, animated)
