Very rough version of datepicker working