Active top_nav logic broken out into new helper