Supercurrent switch in π topological junctions based upon a narrow quantum spin Hall insulator