Fixed scroll issue

Fixed scrolling issue when hiding the search bar in detail view.