mobiledetect in layout files