If the motor shaft is in line with the pivot point of the swing arm then your chain tension problems are entirely caused by the side motion of the swing arm. Have you considered just adding some diagonal bracing to the swing arm and the frame? Much simpler than starting over.