Revert "fix for width resize"

This reverts commit da94fa785dd9db331b1c76ef118b6df6283bcc64.