make chart responsive