The phase reversal phenomenon at flow separation and reattachment