updating view to scroll view