Added a content inset offset to compensate for additional UI below the navigation bar, such as a toolbar, header, etc. Also revised the logic that determines when hiding / showing the navigation bar is allowed. It now includes the top and bottom insets for the scrollView.