added a slider example