datepicker auto hide