Readd the resize handler, should be taken off