reasonably cleaned up SlideControl.js.  stable