adding a basic slider example