allow entering percentages for sliders
allow fractions for sliders
refactoring