semi working datepicker