added ability to pass a collapse link/id to the element.
Merge pull request #1 from lrodham/master

added ability to pass a collapse link/id to the element.