The building could be made to sway at other frequencies of vibration and with other mode shapes by pushing it at lower floor levels.
These are the second and third modes of vibration of a building.
Second Mode (Animate)
Third Mode (Animate)
page 3 of 4
Vibrating Buildings Natural Vibrations - 3