Orientation of adsorbed polymer in response to shear flow