add landscape and rotation support

adds landscape support for PopoverView, better rotation support for the demo project.