A method and mechanism for moving an element, such as a sliding door (1), is disclosed. In the movement a first end of the element is first turned outwards, a second opposite end is then turned out placing the element in parallel with the original location of the element. The element is then displaced by extending a pull-out guide (4). The mechanism comprises a housing (2), the pull-out guide rail (4), a lock-and-release mechanism (19) and at least two lever arms (8, 11, 14, 16, 27, 30, 33, 39, 42). One end of a first lever arm (8, 27, 39) is received in a pivoting point (10, 29, 41) at the pull-out guide rail (4) and the opposite end of said lever arm (8, 27, 39) is received in a pivoting point (9, 28, 40) at the housing (2). The pivoting point (10, 29, 41) at the pull-out guide rail (4) is placed at a first end of the pull-out guide rail (4).