Move infinite scrolling disable logic around.