resizing possible from left or from the right