change size to extent, point to position and update scroll bar