Added a slider control