added resizing right works