fixed a problem which occurred when the scroll view wasn’t at the top of the view controller