highlight corresponding elements to inputs