Partially got the slider working