changing active class when buttons are pushed in header