Added toggle_global to be able to toggle elements across the dom.