A circulation description of a rip current neck