Scroll Window to Clicked Element

$('.links').on('click', function(e) {
	var $tgt = $(this);
	$('html, body')
		.stop()
		.animate({
			'scrollTop': ($tgt.offset().top)
		}, 50)
	;
});