Bug fixes and enhancements

- fixed bug where Pan plugin image would slowly get corrupted after many
    transformations of the main image
- fixed examples using matplotlib crashing on a mac
- added feature to toggle collapsing of left and right panes
   - "<" now toggles collapsing of left pane, ">" ditto right pane