Window resize set correctly the input fields