adding code for slider
need to debug
Merge pull request #1 from sarahlshowers/slider

adding code for slider