fix legend and arrows on toggles