add function to cd to parent dir of symlink