add slider input to set resource allocation percentage