reworked nav and nav pills

moved debug mode to less abrasive flag