datepicker layout changes. ajax call after location change