modify UI for mouseover and popover