header set state, add active class to current page