Scroll up and down to try it out.
Fun fact, this component is only, like, 1.5kb
You can see the full source here.