Adds mobile detection.