Tiny javascript slider, created for my purposes