working on adding event listener for hover in index