Added hover function for popover.