Created listener to show location in data indices.