improve calendar height autoscale