add landscape and rotation support

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