chained .removeClass and .addClass calls