improve linechart peak tooltip positioning