active class is now added to earn nav