note about using mobiledetect in main layout files