Improve slider input