Implemented a slider-based GUI