<script>
jQuery( document ).ready(function() {
jQuery("a.smooth").click(function() {
jQuery("html, body").animate({
'scrollTop': jQuery('#scroll').offset().top
}, 500);
return false;
});
});
</script>
<script>
jQuery( document ).ready(function() {
$('body').delay(12000)
.animate({
'scrollTop': $('#scroll').offset().top
}, 500);
});
jQuery('body').bind('scroll mousedown wheel DOMMouseScroll mousewheel keyup touchmove', function(e){
if ( e.which > 0 || e.type == "mousedown" || e.type == "mousewheel" || e.type == "touchmove"){
jQuery("html,body").stop();
} else {
jQuery('body').delay(12000)
.animate({
'scrollTop': $('#scroll').offset().top
}, 500);
}
});
</script>