 
     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!


        static let buttonMargin: CGFloat = 5
        static let buttonWidth: CGFloat = 40
        static let searchControlsHeight: CGFloat = 30
        static let searchControlsTallHeight: CGFloat = 74
        static let cornerRadius: CGFloat = 5
        static let findFriendsInsets = UIEdgeInsets(all: 20)
        static let findFriendsLabelLeft: CGFloat = 25
