How to Load data dynamically on page scroll using selenium webdriver?

import java.util.List;

import org.openqa.selenium.By;
import org.openqa.selenium.Point;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.events.EventFiringWebDriver;

public class jQueryAutoPageLoad {

 public static void main(String[] args) throws InterruptedException {
  int j,i=0;
  WebDriver myTestDriver = new FirefoxDriver();

  EventFiringWebDriver myTestDriverMouse = new EventFiringWebDriver(myTestDriver);
  myTestDriver.manage().window().maximize();

  myTestDriver.get("http://www.webresourcesdepot.com/dnspinger/");

   try {
    while(true){
     Thread.sleep(5000L);

     myTestDriverMouse.executeScript("scroll(0,20000)");
    }
  } catch (Exception e) {
   System.out.println("End of the pagination ");
  }

 }

}