Revert "[script] clear selected slide when press 'Esc' in listMode"

This reverts commit e2b188bb4e852bcc1840de7b0eba640c0d651ad4.

This commit causes a regression:
Pressing "up" at first page in slide mode goes to a black page.
It should go to the last page.
[script] clear selected slide when press 'Esc' in listMode