highlight nodes when switching highlight mode