fixing safari scroll animation