Now when there is a resize but the windoe does not change does not do anything