click on a tag to go to certain part of div animate code example
Example: scroll jquery to anchor
$('html,body').animate({ scrollTop: $("#anchor").offset().top }, 'slow');
$('html,body').animate({ scrollTop: $("#anchor").offset().top }, 'slow');