fixed setPos : scroll instead of resizing