more datepicker functionality added
still some minor bugs