fixing navigation - selected link breaks when on page 2