updated active state on top menu