fixed ordering of folders in nav and images in gallery