<a name=herere style="display:block;margin-bottom:70px; margin-top:-50px"></a>

со скриптом

$('a').on('click', function(){
     if(this.hash) $(document).data('h',1);
  });
  $(document).scroll(function(){
     if($(this).data('h')) $(this).data('h',0).scrollTop($(this).scrollTop()-head);
  });
$('a[name]').css({'position':'absolute','margin-top':'-173px'});