fix minimizer bug for calendar widget