         self.backgroundColor = UIColor.whiteColor()
         setupNavigationBar()
         searchControlsContainer = UIView(frame: self.frame.inset(sides: 15).atY(64).withHeight(50))
+        searchControlsContainer.autoresizingMask = [.FlexibleWidth, .FlexibleBottomMargin]
         setupSearchField()
         if self.isSearchView { setupToggleButtons() }
         setupStreamView()

    private var navBarTitle: String!
    private var fieldPlaceholderText: String!
    private var isSearchView = true

    weak public var delegate : SearchScreenDelegate?


            ))
        button.setTitle(NSLocalizedString("Find your friends", comment: "Find your friends button title"), forState: .Normal)
        button.addTarget(self, action: Selector("findFriendsTapped"), forControlEvents: .TouchUpInside)
        button.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]

        let label = ElloLabel()
        label.frame = CGRect(
