log width on page resize