A display device comprising: a display panel including a touch sensing unit; a proximity sensor configured to generate a proximity signal when a hand of a user grasping the display device covers the proximity sensor; a first frame to which a first end of the display panel is fixed; and a second frame connected to the first frame by a guide rail; a motor configured to move the second frame in a first direction or a second direction that is opposite to the first direction, wherein the second frame is movable relative to the first frame in the first direction or the second direction, wherein the second frame is arranged to guide movement of the display panel as the second frame moves relative to the first frame, wherein an area of an externally exposed surface of the display panel increases when the second frame is moved in the first direction, and decreases when the second frame is moved in the second direction, wherein a) the proximity sensor is located at an end portion of the first frame in the second direction, and, when both a predetermined pattern is input to the display panel and the proximity signal is generated from the proximity sensor, the second frame is moved in the first direction away from the first frame by the motor; or b) the proximity sensor is located at an end portion of the second frame in the first direction, and, when both a predetermined pattern is input to the display panel and no proximity signal is generated from the proximity sensor, the second frame is moved in the first direction away from the first frame by the motor. a display panel including a touch sensing unit; a proximity sensor configured to generate a proximity signal when a hand of a user grasping the display device covers the proximity sensor; a first frame to which a first end of the display panel is fixed; and a second frame connected to the first frame by a guide rail; a motor configured to move the second frame in a first direction or a second direction that is opposite to the first direction, wherein the second frame is movable relative to the first frame in the first direction or the second direction, wherein the second frame is arranged to guide movement of the display panel as the second frame moves relative to the first frame, wherein an area of an externally exposed surface of the display panel increases when the second frame is moved in the first direction, and decreases when the second frame is moved in the second direction, wherein a) the proximity sensor is located at an end portion of the first frame in the second direction, and, when both a predetermined pattern is input to the display panel and the proximity signal is generated from the proximity sensor, the second frame is moved in the first direction away from the first frame by the motor; or b) the proximity sensor is located at an end portion of the second frame in the first direction, and, when both a predetermined pattern is input to the display panel and no proximity signal is generated from the proximity sensor, the second frame is moved in the first direction away from the first frame by the motor. a) the proximity sensor is located at an end portion of the first frame in the second direction, and, when both a predetermined pattern is input to the display panel and the proximity signal is generated from the proximity sensor, the second frame is moved in the first direction away from the first frame by the motor; or b) the proximity sensor is located at an end portion of the second frame in the first direction, and, when both a predetermined pattern is input to the display panel and no proximity signal is generated from the proximity sensor, the second frame is moved in the first direction away from the first frame by the motor.