moved highlight for selected word to stylesheet