added slider functionality