-when pressing search button layout will not get resized now