make dom node resizable