Ok, so every link in Lay Theme that just links to a subpage of your website has a "data-type" attribute and "data-id" attribute. Let's just focus on that it has a data-type attribute.
So you could do:
jQuery("body").on("click", "a[data-type]", function(event) {
jQuery('.twitter-feed').fadeOut();
});