liquid-box: allow disabling of one or both dimensions