add align-right and left classes