also resize div width for hist