Added length slider. Current value needs to be implemented in the UI.