add move and resize