Near-Wall Behavior of Separated and Reattaching Flows