javascript function to create animates objects on your website while you scroll the page.