S69664 remove the on resize code that doesn't work