HTML
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
Accordion 1
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in">
<div class="panel-body">
Unique text with Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
</div>
</div>
</div>
</div>
CSS
.panel-heading .accordion-toggle:after{
font-family:$font-awesome; content:'\f107'; 9
}
.panel-heading .accordion-toggle.collapsed:after{
font-family:$font-awesome; content:'\f106';
}
.accordion-toggle:after should show a downwards icon when the accordion is not collapsed. When I click to collapse the accordion, the icon should change to an upwards icon. The code above seems to be reversed and swapping the contents does not work either.