check the useragent and the platform to decide the mobile device