working resize, move and ordering