Update tab bar orientation when moved to different edges