update scroll and scroll at lefthand side