added different, more intuitive resizing