Invariant surfaces of variable stability