correct DOM structure to accomodate keybinding script

the keybindings are related to elements inside #mainContent, and I had
pulled nav and sort keeping the right arrow key from jumping to the
next item from while the input feild was focused.