Using body scroll value other than 1.

Value "1" can give a false-positive, as it equals with the value
used in top level window scroll test.
elDoc variable was bound to window, that's not nice