fix body.scrollTop is deprecated in strict mode