Modified dynamic chart size to fit screens better