updates basic slider functionality to CSS3