Use this.options not defaults when detecting presence of collapsed class
Merge pull request #4 from jacksleight/master

Use this.options not defaults when detecting presence of collapsed class