The relation between the Taylor bubble motion and the velocity field ahead of it