listen for browser resize and redraw profile charts