Remove window resize function