Window resize checks