revise color and logic of hovering