fix first transition for "height:auto" in css

If "height:auto" is defined as css rule for active contents, e.g. to allow initially active contents, the first transition won’t work because adding the active class sets height to auto before the absolute height is set. So we need to set the height (as inline style) explicitly to 0 first.