add preview toggle button