Explain the working principle of a sliding door on a horizontal surface on the floor.