save last pos of dir