Switched to simpler mobile user agent detection because the previous method was unreliable anyway