Changed element height calculation function for better collapsing
Merge pull request #24 from tagawa/b3

Changed element height calculation function for better collapsing