Small bug fixes but it's broken.

Somehow the sliders are being created with the same start and end values
but I can't seem to work out why. Stu.
Merge pull request #3 from sharmarahul20/master

Small bug fixes but it's broken.