Emulating a range slider - Kevin Powell - Community