Reports from Ibn Umar describe the Prophet praying voluntary prayer while riding during travel and gesturing for the bow and prostration.
Accordingly, the direction of the mount need not be aligned to the qiblah throughout such voluntary prayer. The ruling is limited to the conditions stated for voluntary prayer outside settled limits, not a blanket ruling for fard or wajib prayers.