newLogAlign called on window resize