Improvements to flot tooltip positioning