Added move by margin functionality