hide nav items in a better way