S-shaped curvy magnetic track