Fixed infinite scroll not fetching when the window size changes

Also added a threshold for triggering the willFetchContent action, so it can start to load earlier.
The issue with the initial item fetch number still needs to be addressed.