Make sure window width has actually changed before deactivating a mobile toggle (touch scrolling can return a false positive and trigger it to close)