Add the class="navigation" on the link and it will work
It is listening for clicks with that class on it, notice:
$('#slider .navigation').find('a').click(selectNav);
Or if you like, you can do:
$('#panel').find('a').click(selectNav);
$('#slider .navigation').find('a').click(selectNav);
And it will listen to links inside the panel as well. Hope I have helped