sorting out folders and icon direction