attempts at speeding up large line plot tooltips