Hide content in a collapsed accordion panel
Fix issue with undefined inner element

For some reason this innerItem was undefined, thus there was no element. Unfortunately, if it was undefined the rest of the execution was stopped. This simply allows processing to continue.
Added option to expand on click on whole titlebar
Merge pull request #8 from jakerella/master

Small fix to styles, workaround for one issue, one new option