added constraints to some windows