Airfoil-vortex interaction and the wake of an oscillating airfoil