MOSYNC-2945 "Add orientation support for Wormhole."
Modifications after code review.