Internal spin-wave confinement in magnetic nanowires due to zig-zag shaped magnetization