Fix for #21

Making arrow keys working in mark mode