The court or judge may make any temporary orders in the cause or disposition of the party during the progress of the proceedings, that justice may require. The custody of any party restrained may be changed from one person to another, by order of the court or judge.
R.L. 1910, § 4902.