added key handler. manual move is working for three directions, but not down