fix scrollTop bug for chrome