advanced_inv: move window pane vars into struct. Space now exits. 'i' selects inventory. Scrolling past end of page advances to next page.

advanced_inv: refactor. Struct contains all window pane specific variables,
    eliminating code duplication in anticipation of further functionality.
    Space now exits. 'i' selects inventory. Scrolling past end of page
    advances to next page.