Adding testing if device is tablet or smartphone