begin translate and cancel translate, redo layout