fixed highlighting to work on node level rather than page level