fixed graph sizes so they remain responsive when resized, also checked working correctly on iPad