adding resize modes: resize,grow,scroll