add visual display for main and sub categories in search