switch to building the toggle into the actual DOM