better calculation for mobile detection