diff --git a/IPython/html/static/notebook/js/keyboardmanager.js b/IPython/html/static/notebook/js/keyboardmanager.js
index 50ea096..ccfcb62 100644
--- a/IPython/html/static/notebook/js/keyboardmanager.js
+++ b/IPython/html/static/notebook/js/keyboardmanager.js
@@ -162,8 +162,9 @@ var IPython = (function (IPython) {
help : '',
help_index : '',
handler : function (event) {
+ var index = IPython.notebook.get_selected_index();
var cell = IPython.notebook.get_selected_cell();
- if (cell && cell.at_top()) {
+ if (index !== 0 && cell && cell.at_top()) {
event.preventDefault();
IPython.notebook.command_mode();
IPython.notebook.select_prev();