Re-add mobile detect