got the resize working