My question in the title might not be very descriptive so I am re-writing it here:

If there is a truck in motion and it has stack of hay (lets suppose) on the back. Now if the truck comes to a sudden stop will it stop faster if the force exerted by the truck on hay had overcome the friction force (another wording: will it be faster if the hay slips forward) or will it stop faster if the hay remains constant.