make window resize only fire on desktop