fix safari scroll bug