move scroll view to public variable