event handler for highlighting results in different panes