 
 updatePurposeTooltips = ->
   $('.tipsy').remove()  # remove all existing tooltips (otherwise they might remain forever)
-  $('#purposeBars g.barg').tipsy
-    gravity: 'w'
+  $('#purposeBars g.barg rect').tipsy
+    gravity: 's'
     opacity: 0.9
     html: true
     #trigger: "manual"

      $("#purposeBars").show()



(($) ->
  $.fn.disableSelection = ->
