Adding slider code for Clayton