in some cases the up/down arrow keys doesn't work correctly. see issue #3