Change comparison from the window to itself.

Checks if the target element's scroll height is bigger than the client height.