Now uses PHP mobile detect, implemented a few requests from comments