added listener for hovering