detecting tablet in landscape