fix: fix browsers go and back error throwing when no more history is available (tests enforced)