swap rulers on window resize too
actaully fix [#72936356]