Percentage sliders whose linked values & sum always total 100%

Here is a great example of this - Edit fiddle - JSFiddle - Code Playground

Basically we have a value and need this to be split over 3 sliders which can range 0-100%. If any R slider reaches 100% the others have no affect and if slider R1 was 75% then slider R2 & R3 can only move 25%, if R2 was 25% then R3 cannot move.

The sum of sliders is fairly easy

Any suggestions my page is basic for now - url