fixed the scroll issue on Safari