change resizeLayer -->repositionLayer
D&D Box refactor + Apply action