Simplify logic for resize events.
update lines on bar graph.