Hide parent navbar items that do not have visible children