fix keybord handling
Merge branch 'master' into gh-pages