made the social buttons work for all pages