isExpanded() would always retun true if called before layout.
Merge pull request #36 from benkay/isExpanded

isExpanded() would always retun true if called before layout.