added auto margins on side blocks