added initia mouse oggle and pane resize functions -- not yet working