fix reflow on horizonal expansion