updated datepicker for ipad compatibility.