fix dolayout and scrolling
backup