refactored configuration to reuse nav pills