add a few method and code comments into the main Slider class