fixed search bar hiding bug