Dynamics of two-dimensional liquid bridges