Added a rudimentary version of panning for the side pane