Extracting more methods into the slider class