Its pretty damn easy
Just put a counter-weight block on a swivel under the building
If the building sway to the right the block will sway to the left
Keeping the building up
And not to mention Bulletproof glass might help as well