fix trailing div tag in datepicker