As I found out, the problem is that for Mavic Pro (and other DJI drones) gimbal pitch can't be programmed in waypoints. Litchi and similar apps control it in real-time sending commands from your device. A weak signal, a glitch in a phone, or deviation in gps all results in not so smooth moving...