Lateral dynamics of a moving web