got everything but the resize working