Implement dynamic active navbar