Added key bindings and next/prev routines