move folder to its right place when title is changed