add mindate and maxdate to datepickers