Added query on window horizontal resize.