adds nav pills and auto-scroll