fix error with centring scrollview