Got Slider working

My initial coding, based of off Yaz's.