changed master slave order of datetimepicker