You can change the location.hash property, it will change the current anchor identifier without navigating away form the page, for example you could:
Cats
Dogs
Then:
$('.ajaxLink').click(function (e) {
location.hash = this.id; // get the clicked link id
e.preventDefault(); // cancel navigation
// get content with Ajax...
});