 
     func showNavBars() {
         animate {
+            self.searchControlsContainerHeight.update(offset: Size.searchControlsHeight)
             self.searchControlsContainer.frame.origin.y = self.navigationBar.frame.size.height
         }
     }
 
     func hideNavBars() {
         animate {
+            if AppSetup.shared.isIphoneX {
+                self.searchControlsContainerHeight.update(offset: Size.searchControlsTallHeight)
+                self.searchControlsContainer.frame.size.height = Size.searchControlsTallHeight
+            }
             self.searchControlsContainer.frame.origin.y = -1
         }
     }

    fileprivate let findFriendsLabel = StyledLabel(style: .black)
    fileprivate var bottomInset: CGFloat = 0
    fileprivate let gridListButton = UIButton()
    fileprivate var gridListVisibleConstraint: Constraint!
    fileprivate var gridListHiddenConstraint: Constraint!


        searchControlsContainer.snp.makeConstraints { make in
            make.top.equalTo(navigationBar.snp.bottom)
            make.leading.trailing.equalTo(self)
            searchControlsContainerHeight = make.height.equalTo(Size.searchControlsHeight).constraint
        }

        postsToggleButton.snp.makeConstraints { make in
            make.leading.equalTo(searchControlsContainer).offset(Size.margin)
            make.bottom.equalTo(searchControlsContainer)
            make.height.equalTo(Size.searchControlsHeight)
        }

        peopleToggleButton.snp.makeConstraints { make in
            make.trailing.equalTo(searchControlsContainer).offset(-Size.margin)
            make.leading.equalTo(postsToggleButton.snp.trailing)
            make.width.equalTo(postsToggleButton)
            make.bottom.equalTo(searchControlsContainer)
            make.height.equalTo(Size.searchControlsHeight)
        }

        findFriendsContainer.snp.makeConstraints { make in
