error fixed in datepicker movement