My version of a lightweight javascript slider