added a php mobile detect