fix css problem and popover right placement issue