This simple script detects the height and width of a device.