fixing tooltips on d3 bar