Fixed a couple of edge cases. Where width is too small - pick a sensible default. When box is hidden and then shown, respect whether it is inline or block.
Bump version