Pull to refresh animation with Vanilla JavaScript - DEV Community