Changed scrollEnd to scroll