Don't show infinite scrolling in several cases