not quite successful attempt at drag resizing