Add an option to ignore space used by collapsed nodes

Hello,

Here is a commit that add an option to use `display: none` instead of `visibility: hidden` to hide nodes.

Fixes #18