New collapse directive implementation without animation. Addresses issue #22