Add intial support for orientation-aware applets