another try at positioning panes