sync datepicker range min & max date