Adding in Mobile Detection Correctly

Adding in mobile detection to the correct file.