buffer toggle.