added slider toggle