Bifurcation and hysteresis of the magnetospheric structure with a varying southward IMF: Field topology and global three-dimensional full particle simulations