add max width and height inputs for more device support

simple mechanism to support 3rd and 2nd generation Apple TVs.