save paned position in preferences