fix search bar dismissal