An agricultural vehicle includes a chassis a header carried by the chassisand includinga cutter mechanism, the header being adjustable in a vertical direction aswath roller carried bythe chassis behind the header a roller actuator connected to the swath rollerand configured toadjust the swath roller in the vertical direction and a controller coupled tothe roller actuator.The controller is configured for: detecting when the header raises in thevertical directionrecording a header raising point where the header raises determining when theswath rollerreaches the header raising point and signaling the roller actuator to raisethe swath roller whenthe swath roller reaches the header raising point.