Nav toggle retains state in collapsed mode switching between pages