add datepicker in past view activity, and add gesture