generalize highlighting of matrix, and add highlighting to spatiotemporal result pages