Added slider for percentage control