add handler down 'up', 'down', 'esc', 'enter' keys

Signed-off-by: Alexandr <yakovlev@primepix.ru>