In the example provided only horizontal movement is shown.
The behavior is controlled by multiMoveVerticalMode property. By default, it's set to "Disabled" which disables vertical moving.
You can use "All" to enable vertical moving:
dp.multiMoveVerticalMode = "All";
See also: https://api.daypilot.org/daypilot-scheduler-multimoveverticalmode/