updated datepicker to allow clicking on the input field