refined mobile detection