adding window resize event adding classes to body elm for ie