added key listeners for move up/move down
unified expand and collapse actions, added space key shortcut for it
fixed undo shift