When the page loads you can filter through all the radio buttons and find the one that is checked. When you have that button you can just scroll to it with jQuery.
This is the code html:
<div id="radioContainer">
<input type="radio" name="distance" value="1"/>1<br>
<input type="radio" name="distance" value="2"/>2<br>
<input type="radio" name="distance" value="3"/>3<br>
<input type="radio" name="distance" value="4"/>4<br>
<input type="radio" name="distance" value="5"/>5<br>
<input checked type="radio" name="distance" value="6"/>7<br>
<input type="radio" name="distance" value="8"/>8<br>
<input type="radio" name="distance" value="9"/>10<br>
</div>
and the JS:
$(document).ready(function() {
$('#radioContainer > input').each(function() {
var radioInput = $(this);
if(radioInput.is(':checked')) {
$('#radioContainer').animate({
scrollTop: radioInput.offset().top
}, 2000);
}
});
});
Source for the jQuery scroll to animation: jQuery scroll to element
JSFiddle: http://jsfiddle.net/ct346z65/4/