Fix demo auto rotation issues
Handle display of popover with all UI orientations.