android mobile + tablet detection fix