update flotcharts and integrate flotchart resize plugin