Dynamics of a potential barrier formed on the tail of a moving double layer in a collisionless plasma