hide datepicker after clicking