                 self.updateScrollViewInsets(preserveAnimation: true)
             }
         }, completion: { _ in
-            self.useNavigationBarVisibleHeightForScrollViewInsets = false
-            self.navigationBar.isUnderBarViewHidingEnabled = true
             completion?()
         })
     }

            let newKeyboardFrame = newKeyboardFrame,
            newKeyboardFrame.origin.y > oldKeyboardFrame.origin.y { // hiding
            if let scrollView = scrollView, scrollView.isDragging {
                updateScrollViewInsets(preserveAnimation: true)
                isKeyboardShowing = false
            } else {
                setUnderBarViewPercentHidden(0) {
                    self.isKeyboardShowing = false
                }
            }
        }

        scrollView = searchResultsCollectionViewController.collectionView
    }

    private var selectedImageViewHeightConstraint: NSLayoutConstraint?

    override func viewWillAppear(_ animated: Bool) {
