Look at the script in the thumbnail sprite. If you use that in your project the slider should work. :)