detect mobil devices to avoid long time loading on welcome page