Added swp pane functionality