Need to disable infinite scroll in home page

Probably not.

It will probably help if you take two steps back and describe the problem are you trying to solve.