fix nav and autoload more images at the end