Hi Sebastian,
Sorry! There is no special template code to activate the infinity Scroll function, However you can try some third party plugins.
Thank you!