add transition for the search bar