Sets up theme for infinite scroll.