slider code added