Could some one help me to code this better

Could some one help me to code this better

Hello! I'm using smoothScroll but I think my problem is a simple javascript one. If someone could teach me what I should do that would be great:
  1. $('.lodgingList a').smoothScroll({
  2.     scrollTarget: null,
  3.     speed: 1000,
  4.     offset: -10
  5. });
The script is working the first time I click on a link in one of the lodgingLists but when I go back and click on a different link the scrollTarget doesn't seem to update. i.e. I click on 'House' the first time and the page smoothScrolls to the House anchor. I then click on 'Camping' and the page smoothScrolls down to the House anchor again.

I can post the HTML if needed.

Thanks in advance,
Laurence