activate valign and halign