remove the warning fired by Chrome

when scrollTop/scrollLeft return 0