adds mouseover functionality