toggling tkinter is automatic