Six-bar reversing mechanism