datepicker resize bug fixed