moved toggle button outside of reactive scope