manage class="active" and the color