fixed nav pills. layout and functionality for md, sm, xs sizes