Detect if it's a mobile device (os & device type: phone or tablet)