adjust slider code to not run by default