#115 take title height into account when computing height of boxes, use nodes sizes (not option values) in computation of box sizes, factor out box options, add title to expandCollapseBox only if options.showTitleWhenExpanded is true