there is a saying that if it doesn't shake then it's going to break. roller coaster structures are designed to sway a couple of inches. as a train goes racing by. especially in tight corners and high g force locations the swaying helps release tension.