Don't have Telegram yet? Try it now!
https://benmarshall.me/attaching-javascript-handlers-to-scroll-events/
Attaching JavaScript Handlers to Scroll Events — a how-NOT-to, use this instead