Adding form and loading animation to infinite scrolling demo