Interaction of single travelling bubbles with the boundary layer and attached cavitation