restructured PHP output to build preloader of all images and put an <ul> of galleries in #nav