Added Window.toggle