Instead of fixing the height with a static value, you can set the max-height of the container div. In this case it will use auto height as long as it's less than the height you specified
To make the max-height cross-browser compatible, you have to set it as follows in your css:
.checkBoxList {
max-height:100px;
height:auto !important;
height:100px;}