added enhancements to how toggling is handled
fixed conflict in sidebar html twig