added HideByScreenSizeBehavior and updated the visibility sample