Update add class on resize