Added slider control and rerender on change