No person shall ride on any vehicle upon any portion thereof not designated or intended for the use of passengers when the vehicle is in motion.  This provision shall not apply to an employee engaged in the necessary discharge of a duty or to persons riding within truck bodies in space intended for merchandise.