Add new deplacement for layers (non collaborative)

and Correcting undo/redo Bugs