adds scrollView, for loops