Initial Rewrite
Added isNaN check in expand/collapse
Removed isNaN checks as they weren't needed.
Refactored expand/collapse into toggleCollapse
Merge pull request #17 from rbrostowiez/master

Event Delegation