added js and class to resize my-container when the social links are not visible