checking ipad with and height