Drive units for track-mounted gates