Control of the reversing movement