added country name to tooltip
added sum to the tooltip by moving scope of tip function