Makes an element resizable.