toggles and triangle rotates