How does it recognize a mobile device when using the .mobile. layout?