<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<p id="bottom"><a href="#">Вниз</a></p>
<script>
$(document).ready(function() {
$('#bottom').click(function(){
$('html, body').animate({scrollTop:$(document).height()}, 'slow');
return false;
});
});
</script>