add datepicker to view