Mobile.isVisible()/isHidden() test added.