Update with additions to close and togggle elements. Update to 1.0