fix for #83: dynamic sizing
Merge pull request #86 from jptredoux/master

fix for #83: dynamic sizing