Only show infinite scrolling if frame height is greater than content size height