alignment based on previous line