fix to not call infinte scroll if contentthreshold less than 0