fixes scroll positioning