update mobile detect
comment out unused code for now