scrollTo plugin not scrolling links outside nav
===

I have the scrollTo script successfully implemented on the nav at [avalonbyeaw.com][1] and my client wishes to add links from the homepage. Easy, right? I guess not. Not only will it not scroll but it also adds `#finishes` to the URL that we've stripped from the nav links. I'm guessing I just need to add the links to a function somewhere? I can't figure it out.

Javascript

	$(document).ready(function() {
	
		$('a.panel').click(function () {
	
			$('a.panel').removeClass('selected');
			$(this).addClass('selected');
			
			current = $(this);
			
			$('#wrapper').scrollTo($(this).attr('href'), 800);		
			
			return false;
		});
	
		$(window).resize(function () {
			resizePanel();
		});
	});
	
	function resizePanel() {
	
		width = $(window).width();
		height = $(window).height();
	
		mask_width = width * $('.item').length;
			
		$('#debug').html(width  + ' ' + height + ' ' + mask_width);
			
		//$('#wrapper, .page').css({width: width, height: height});
		//$('#stage').css({width: mask_width, height: height});
		$('#wrapper').scrollTo($('a.selected').attr('href'), 0);
	}

Working nav link html

	<div id="nav-finishes" class="nav"><a href="#finishes" class="panel panel-finishes" alt="finishes"><img src="images/spacer.gif" height="10" width="79" border="0" /></a></div>

Non-working link added to the piecemaker xml feed

    <Text>&lt;p&gt;Avalon by EAW features automotive-class finishes on all trim pieces. &lt;a href="#finsihes" class="panel"&gt;Optional premium enclosure finishes&lt;/a&gt; set these systems in a class by themselves.&lt;/p&gt;</Text>



  [1]: http://www.avalonbyeaw.com 