add ipad and tablet checks