Affix: use scrollHeight instead of offsetHeight