Fixed off-by-one at the end of slider
Merge pull request #9 from jonnyarnold/master

Fixed off-by-one at the end of slider