Set menu to active in nav && Hide the filter section if is empty in ajax template