worked on dropdown menu for the search functionality