An electronic device comprising: a touch position detection unit configured to detect a touched position on a touch panel, the touched position being detected by an X component and a Y component of an X-Y coordinate; a magnified view window display unit configured to display a magnified view window to magnify and display an area including a first touched position, the first touched position being a position at which a single touch operation is detected on the touch panel a magnified view window size change unit configured to enlarge a size of the magnified view window based on the first touched position and a first destination position when a single touch moving operation to move a single touch position to the first destination position from the first touched position is detected, the first destination position being a position where the Y coordinate value is larger than the first touched position; and a view target area determining unit configured to determine a display target area including the first destination position corresponding to the size of the magnified view window and to display the display target area including the first destination position on the magnified view window, wherein, when the touched position further moves to a second destination position from the first destination position, the magnified view window size change unit narrows the size of the magnified view window in the Y direction based on the second destination position, the second destination position being a position where the Y coordinate value is smaller than the first destination position, and the view target area determining unit determines a display target area including the second destination position corresponding to the size of the magnified view window and displays the display target area including the second destination position on the magnified view window. a touch position detection unit configured to detect a touched position on a touch panel, the touched position being detected by an X component and a Y component of an X-Y coordinate; a magnified view window display unit configured to display a magnified view window to magnify and display an area including a first touched position, the first touched position being a position at which a single touch operation is detected on the touch panel a magnified view window size change unit configured to enlarge a size of the magnified view window based on the first touched position and a first destination position when a single touch moving operation to move a single touch position to the first destination position from the first touched position is detected, the first destination position being a position where the Y coordinate value is larger than the first touched position; and a view target area determining unit configured to determine a display target area including the first destination position corresponding to the size of the magnified view window and to display the display target area including the first destination position on the magnified view window, wherein, when the touched position further moves to a second destination position from the first destination position, the magnified view window size change unit narrows the size of the magnified view window in the Y direction based on the second destination position, the second destination position being a position where the Y coordinate value is smaller than the first destination position, and the view target area determining unit determines a display target area including the second destination position corresponding to the size of the magnified view window and displays the display target area including the second destination position on the magnified view window.