merge detail.php into movement.php