category search implementation from the main nav bar