added ShowByOrientationBehavior and updated visibility sample