modify offset of the main body
hide the scroll bar to avoid resize uncomfortible effect