Applies expanded and collapsed styles to toggles as well.