Protection of slender rigid blocks from the overturning by using an active control system