The method to set screenType between mobile or tablet gives the wrong input on certain tablets whose height in landscape mode is shorter than 600. I suggest lowering the "magic number" to check height in landscape mode to 550 from 600 to support tablets with smaller screens