$('#moreFilters').on('click', function() {
$('#mobileFilters').toggleClass('displayBlock');
if ($("#moreFilters:contains('More Filters')").length) {
$('#moreFilters').text('Less Filters');
} else {
$('#moreFilters').text('More Filters');
}
});