Vertical stability of periodic solutions around the triangular equilibrium points