fix some ui issues in datepicker